package com.gt.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gt.entity.RestTemplateLog;
import com.gt.mapper.RestTemplateLogMapper;
import com.gt.service.RestTemplateLogService;
import org.springframework.stereotype.Service;

@Service
public class RestTemplateLogServiceImpl extends ServiceImpl<RestTemplateLogMapper, RestTemplateLog> implements RestTemplateLogService {

    @Override
    public void insert(RestTemplateLog log) {
        if (!log.getUri().contains("http://192.168.110.30:8996/mobmPay/pay/628001.json")){
            baseMapper.insert(log);
        }
    }
}
